This function reads data into the data buffer from the subsetted time period. Only complete crosstracks are extracted. If the external_mode flag is set to (1) then the geolocation fields and the data field can be in different swaths. If set to (0), then these fields must be in the same swath structure.
Note: Array ordering of variables used or returned by this routine changed in IDL 5.5. Programs written for versions of this routine prior to IDL 5.5 may need to be modified to work correctly with the current version.
Result = EOS_SW_EXTRACTPERIOD(swathID, periodID, fieldname, external_mode, buffer)
Returns SUCCEED (0) if successful and FAIL (–1) otherwise.
Swath id (long).
Period id (long) returned by EOS_SW_DEFTIMEPERIOD.
Field to subset (string).
External geolocation mode (long).
A named variable that will contain the period data.
None
In this example, we read data within the subsetted time period defined in EOS_SW_DEFTIMEPERIOD from the Spectra field. Both the geolocation fields and the Spectra data field are in the same swath.
status = EOS_SW_EXTRACTPERIOD(EOS_SW_id, periodID, 0,"Spectra", $
datbuf)
5.2 |
Introduced |